package com.credithc.customers.dataservice.service;

import com.credithc.customers.dataservice.ro.CustomerAccountInfoRo;
import com.credithc.customers.dataservice.ro.CustomerProductInfoRo;
import com.credithc.customers.dataservice.ro.ProductInfoRo;

import java.util.List;

/**
 * @author zhukai
 * @date 2019/1/14 9:28
 */
public interface SyncDataService {


    void syncProduct(ProductInfoRo product);

    void syncProduct(List<ProductInfoRo> products);

    void syncCustomerProduct(CustomerProductInfoRo customerProduct);

    void syncCustomerProduct(List<CustomerProductInfoRo> customerProducts);

    void syncCustomerAccount(CustomerAccountInfoRo account);

    void syncCustomerAccount(List<CustomerAccountInfoRo> accounts);

    void addRoleInfo(String userSourceId, String customerNo, String systemSign, String subSystemSign, String customerRole, Integer roleStatus) ;

    void updateRoleInfoByProduct(String userSourceId, String systemSign, String subSystemSign, Integer accountStatus);

}
